﻿<%@ page contentType="text/html;charset=UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<%@ include file="/common/meta.jsp"%>
<%@ include file="/common/content.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>角色信息管理</title>
	</head>
	<body>
 	  <table class="listTable2">
			<tr>
				<td width="20px">
					<img src="${ctx}/image/jwc/tb.gif" width="16" height="16" />
				</td>
				<td width="90%">
					<span class="color:#000">当前位置</span>：[用户管理 - 角色管理 - 查看角色信息]
				</td>
				<td>
					<input type="button" value="返回" onclick="history.back()"/>
				</td>
			</tr>
		</table>
	  <table align="center" class="listTable3" width="90%">
			<tr>
				<td>角色名称</td><td>${roles.name}</td>
			</tr>
			<tr>
				<td>权限</td>
				<td>
					<c:forEach var="ra" items="${roles.rolesAuthoritieses}"  varStatus="status">
								<c:if test="${status.count==10}"><br/></c:if>
								${ra.authorities.displayName}&nbsp;&nbsp;						
					</c:forEach>
				</td>
			</tr>
			<tr>
				<td>
					状态
				</td>
				<td>
						<c:if test="${roles.state == 1}">
							已启用
						</c:if>
						<c:if test="${roles.state == 0}">
							<font color="red">已停用</font>
						</c:if>
				</td>
			</tr>
	 	</table>
	</body>
</html>

